package org.jeecg.modules.wlhy.order.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: hy_order
 * @Author: jeecg-boot
 * @Date:   2020-12-03
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ImportOrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**所属货主*/
	@Excel(name = "所属货主", width = 15)
	@ApiModelProperty(value = "所属货主")
	private String customerName;

	@ApiModelProperty(value = "所属货主")
	private String customerId;

	/**货物名称*/
	@Excel(name = "货物名称", width = 15)
    @ApiModelProperty(value = "货物名称")
    private String descriptionOfGoods;
	/**货物分类代码(代码集)*/
	@Excel(name = "货物分类代码(代码集)", width = 15, dicCode = "cargo_type_classification_code")
	@Dict(dicCode = "cargo_type_classification_code")
    @ApiModelProperty(value = "货物分类代码(代码集)")
    private String cargoTypeClassificationCode;

	/**运费单价*/
	@Excel(name = "运费单价", width = 15)
	@ApiModelProperty(value = "运费单价")
	private String shippingUnitPrice;

	/**运费支付方式(1按运单结算2车队长结算)*/
	@Excel(name = "运费支付方式", width = 15, dicCode = "pay_type")
	@Dict(dicCode = "pay_type")
	@ApiModelProperty(value = "运费支付方式(1按运单结算2车队长结算)")
	private String payType;

	/**车队长名称*/
	@Excel(name = "车队长名称", width = 15)
	@ApiModelProperty(value = "车队长名称")
	private String carrierName;

	@ApiModelProperty(value = "车队长id")
	private String carrierId;

	/**要求发货时间*/
	@Excel(name = "要求发货时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "要求发货时间")
    private String sendDate;

	/**要求交货时间*/
	@Excel(name = "要求交货时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "要求交货时间")
    private String receiveDate;

	/**发货地址名称*/
	@Excel(name = "发货地址名称", width = 15)
	@ApiModelProperty(value = "发货地址名称")
	private String sendAddressName;
//	/**发货经度*/
//	@Excel(name = "发货经度", width = 15,type = 4)
//	@ApiModelProperty(value = "发货经度")
//	private BigDecimal sendLongitude;
//	/**发货维度*/
//	@Excel(name = "发货维度", width = 15,type = 4)
//	@ApiModelProperty(value = "发货维度")
//	private BigDecimal sendLatitude;
	/**发货详细地址*/
	@Excel(name = "发货详细地址", width = 15)
	@ApiModelProperty(value = "发货详细地址")
	private String sendAddress;
	/**发货区域代码*/
	@Excel(name = "发货区域代码", width = 15)
	@ApiModelProperty(value = "发货区域代码")
	private String sendAreaCode;
	/**发货联系人*/
	@Excel(name = "发货联系人", width = 15)
	@ApiModelProperty(value = "发货联系人")
	private String sendContactName;
	/**发货联系人电话*/
	@Excel(name = "发货联系人电话", width = 15)
	@ApiModelProperty(value = "发货联系人电话")
	private String sendContactTel;
	/**收货地址名称*/
	@Excel(name = "收货地址名称", width = 15)
	@ApiModelProperty(value = "收货地址名称")
	private String receiveAddressName;
//	/**收货经度*/
//	@Excel(name = "收货经度", width = 15 ,type = 4)
//	@ApiModelProperty(value = "收货经度")
//	private BigDecimal receiveLongitude;
//	/**收货维度*/
//	@Excel(name = "收货维度", width = 15 ,type = 4)
//	@ApiModelProperty(value = "收货维度")
//	private BigDecimal receiveLatitude;
	/**收货详细地址*/
	@Excel(name = "收货详细地址", width = 15)
	@ApiModelProperty(value = "收货详细地址")
	private String receiveAddress;
	/**收货区域代码*/
	@Excel(name = "收货区域代码", width = 15)
	@ApiModelProperty(value = "收货区域代码")
	private String receiveAreaCode;
	/**收货联系人*/
	@Excel(name = "收货联系人", width = 15)
	@ApiModelProperty(value = "收货联系人")
	private String receiveContactName;
	/**收货联系人电话*/
	@Excel(name = "收货联系人电话", width = 15)
	@ApiModelProperty(value = "收货联系人电话")
	private String receiveContactTel;

	/**原始货源号*/
	@Excel(name = "原始货源号", width = 15)
	@ApiModelProperty(value = "原始货源号")
	private String orgOrderNumber;

	/**原始货源状态*/
	@Excel(name = "原始货源状态", width = 15)
	@ApiModelProperty(value = "原始货源状态")
	private String orgOrderStatus;


	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private String createTime;
}
